package org.openclinic.repository;

import java.util.List;

import org.openclinic.domain.MedicalRecord;
import org.springframework.data.jpa.repository.JpaRepository;

public interface MedicalRecordRepository extends JpaRepository<MedicalRecord, Long> {
	
	List<MedicalRecord> findByAppointmentCustomerUserId(long userId);
	
}
